import Vue from "vue";
import App from "./App";
import Api from "./utils/api";
import { imgUrl } from "./utils/url";
import { dialog, Imgpreview, Toast } from "./components/public";
import uView from "uview-ui";
Vue.use(uView);

Vue.config.productionTip = false;

App.mpType = "app";

Vue.prototype.$api = Api;
Vue.prototype.$imgUrl = imgUrl;
Vue.prototype.$dialog = dialog;
Vue.prototype.$Toast = Toast;
Vue.prototype.$Imgpreview = Imgpreview;
Vue.prototype.$shareImageUrl = 'https://yixianfeng.oss-cn-beijing.aliyuncs.com/image/img_share.png';
Vue.prototype.$shareContent = '真诚待人、用心服务！';
//Vue.prototype.$shareMiniId = 'gh_40c57493134e';
Vue.prototype.$shareMiniId = 'gh_b4e13ad326d8';
//Vue.prototype.$shareWebUrl = 'https://yxf.h5.jsonpro.cn/download';
Vue.prototype.$shareWebUrl = 'https://h5.wmel.cn/download';

const app = new Vue({
	...App,
	Api
});
app.$mount();
// Vue.prototype.globalData = getApp().globalData;
